package com.qf.j2112.service.impl;

import com.qf.j2112.entity.User;
import com.qf.j2112.mapper.AuthorMapper;
import com.qf.j2112.service.AuthorService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AuthorServiceImpl implements AuthorService {
    @Resource
    AuthorMapper authorMapper;
    @Override
    public User findUser(String username) {
        User user = authorMapper.findUser(username);
        return user;
    }
}
